package ui.activity.order.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.order.biz.OrderDetailsBiz;
import ui.activity.order.contract.OrderDetailsContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class OrderDetailsModule {
    private OrderDetailsContract.View view;

    public OrderDetailsModule(OrderDetailsContract.View view) {
        this.view = view;
    }

    @Provides
    public OrderDetailsContract.View provideView() {
        return view;
    }

    @Provides
    public OrderDetailsBiz provideBiz() {
        return new OrderDetailsBiz();
    }
}